/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
import i18n from './../../lang/index'
const auditRouter = {
  path: '/audit',
  component: Layout,
  name: '项目审批',
  meta: {
    title: '项目审批',
    subtitle: '项目审批',
    icon: 'system',
    permissions: ['audit']
  },
  children: [
    // // 模拟三级路由
    // {
    //   path: '',
    //   component: Layout,
    //   name: i18n.t('route.System'),
    //   meta: { title: i18n.t('route.System'), subtitle: i18n.t('route.System'), icon: 'menu_system', permissions: ['admin'] },
    //   childrens: [
    //     {
    //       path: '/sysMenu/list',
    //       component: () => import('@/views/sysMenu/list'),
    //       name: 'sysMenu-list',
    //       meta: { title: '系统管理', subtitle: '菜单', icon: 'menu_sysMenu', permissions: ['admin'] },
    //       // hidden: true
    //     },
    //   ]
    // },

    // 注册路由
    {
      path: '/company/auditList',
      component: () => import('@/views/company/auditList'),
      name: '/company/auditList',
      meta: { title: '企业资料审核列表', subtitle: '企业资料审核列表', icon: 'menu_sysMenu', permissions: ['company.audit']},

      // hidden: true
    },
    {
      path: '/company/audit',
      component: () => import('@/views/company/audit'),
      name: 'companyAudit',
      meta: { title: '企业资料审核', subtitle: '企业资料审核', icon: 'menu_sysMenu', permissions: ['company.audit'],},

      hidden: true
    },
    {
      path: '/project/auditList',
      component: () => import('@/views/project/auditList'),
      name: '/project/auditList',
      meta: { title: '项目资料审核列表', subtitle: '项目资料审核列表', icon: 'menu_sysMenu', permissions: ['project.audit']},

      // hidden: true
    },
    {
      path: '/project/audit',
      component: () => import('@/views/project/audit'),
      name: 'projectAudit',
      meta: { title: '项目资料审核', subtitle: '项目资料审核', icon: 'menu_sysMenu', permissions: ['project.audit'],},

      hidden: true
    },
    {
      path: '/projectActivity/auditList',
      component: () => import('@/views/projectActivity/auditList'),
      name: '/projectActivity/auditList',
      meta: { title: '项目活动审核列表', subtitle: '项目活动审核列表', icon: 'menu_sysMenu', permissions: ['projectActivity.audit']},

      // hidden: true
    },
    {
      path: '/projectActivity/audit',
      component: () => import('@/views/projectActivity/audit'),
      name: 'projectActivityAudit',
      meta: { title: '项目活动审核', subtitle: '项目活动审核', icon: 'menu_sysMenu', permissions: ['projectActivity.audit'],},

      hidden: true
    },
    {
      path: '/projectExecute/auditList',
      component: () => import('@/views/projectExecute/auditList'),
      name: '/projectExecute/auditList',
      meta: { title: '项目运营审核列表', subtitle: '项目运营审核列表', icon: 'menu_sysMenu', permissions: ['projectExecute.audit']},

      // hidden: true
    },
    {
      path: '/projectExecute/audit',
      component: () => import('@/views/projectExecute/audit'),
      name: 'projectExecuteAudit',
      meta: { title: '项目运营审核', subtitle: '项目运营审核', icon: 'menu_sysMenu', permissions: ['projectExecute.audit'],},

      hidden: true
    },
  ]
}
export default auditRouter
